<div class="matches view">
<h2><?php echo __('Match'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($match['Match']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Championship'); ?></dt>
		<dd>
			<?php echo $this->Html->link($match['Championship']['name'], array('controller' => 'championships', 'action' => 'view', $match['Championship']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($match['Match']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Home'); ?></dt>
		<dd>
			<?php echo $this->Html->link($match['home']['name'], array('controller' => 'teams', 'action' => 'view', $match['home']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Visitor'); ?></dt>
		<dd>
			<?php echo $this->Html->link($match['visitor']['name'], array('controller' => 'teams', 'action' => 'view', $match['visitor']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Type'); ?></dt>
		<dd>
			<?php echo h($match['Match']['type']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Place'); ?></dt>
		<dd>
			<?php echo h($match['Match']['place']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Start'); ?></dt>
		<dd>
			<?php echo h($match['Match']['start']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Ended'); ?></dt>
		<dd>
			<?php echo h($match['Match']['ended']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('ScoreA'); ?></dt>
		<dd>
			<?php echo h($match['Match']['scoreA']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('ScoreB'); ?></dt>
		<dd>
			<?php echo h($match['Match']['scoreB']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Match'), array('action' => 'edit', $match['Match']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Swap'), array('action' => 'swap', $match['Match']['id'])); ?></li>
		<li><?php echo $this->Html->link(__('Add Event'), array('controller' => 'occours', 'action' => 'add/'.$match['Match']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Match'), array('action' => 'delete', $match['Match']['id']), null, __('Are you sure you want to delete # %s?', $match['Match']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Matches'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Match'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Championships'), array('controller' => 'championships', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Teams'), array('controller' => 'teams', 'action' => 'index')); ?> </li>
	</ul>
</div>
